draw2d.MyGraphicalEditor=function(id,model){
this.model=model;
draw2d.GraphicalEditor.call(this,id);
};
draw2d.MyGraphicalEditor.prototype=new draw2d.GraphicalEditor();
draw2d.MyGraphicalEditor.prototype.type="draw2d.MyGraphicalEditor";
draw2d.MyGraphicalEditor.prototype.initializeGraphicalViewer=function(){
this.getGraphicalViewer().setModel(this.model);
this.getGraphicalViewer().setEditPartFactory(new draw2d.MyGraphicalEditorFactory());
};
